/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package certificate.controller;

import certificate.entity.Student;
import java.util.List;

/**
 *
 * @author minhtuan
 */
public interface BaseController<T> {

    public boolean addNew(T temp) throws Exception;

    public boolean deleteById(String id) throws Exception;

    public boolean update(T temp) throws Exception;

    public List<T> getAll() throws Exception;
    
    public boolean  getStatusById(String id) throws Exception;
}
